package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "RoomParams",
        title = "房间自定义参数表",
        description = ""
)
@TableName(value = "dorm_room_params")
public class RoomParams {

    @Schema(title = "房间id", description = "")
    @TableId(value = "room_id")
    private Long roomId;

    @Schema(title = "参数类型", description = "")
    @TableField(value = "dictionary_params_type")
    private Long dictionaryParamsType;

    @Schema(title = "参数值类型", description = "")
    @TableField(value = "dictionary_value_type")
    private Long dictionaryValueType;

    @Schema(title = "参数值", description = "")
    @TableField(value = "room_params_value")
    private String roomParamsValue;
}
